/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.system.domain;


import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "字典类型", description = "字典类型实体类")
public class DictType extends BaseEntity {

    @ApiModelProperty(value = "名称", name = "name", required = true)
    private String name;

    @ApiModelProperty(value = "类型key", name = "dictKey", required = true)
    private String dictKey;

    @ApiModelProperty(value = "类型Index", name = "dictIndex", required = true)
    private Integer dictIndex;

    @ApiModelProperty(value = "备注", name = "remark" )
    private String remark;

    @ApiModelProperty(value = "类型下的数据列表", name = "dataList" )
    private List<DictData> dataList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDictKey() {
        return dictKey;
    }

    public void setDictKey(String dictKey) {
        this.dictKey = dictKey;
    }

    public Integer getDictIndex() {
        return dictIndex;
    }

    public void setDictIndex(Integer dictIndex) {
        this.dictIndex = dictIndex;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<DictData> getDataList() {
        return dataList;
    }

    public void setDataList(List<DictData> dataList) {
        this.dataList = dataList;
    }

    @Override
    public String toString() {
        return "DictType{" +
                "name='" + name + '\'' +
                ", dictKey='" + dictKey + '\'' +
                ", dictIndex=" + dictIndex +
                ", remark='" + remark + '\'' +
                ", dataList=" + dataList +
                '}';
    }

}
